These structs were never constructed, flagged by cargo clippy with
-Ddead_code.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Xiaofeng Wang <henrywangxf@me.com>
cycle_time: time::Duration,
}
-#[derive(Serialize, Deserialize, Debug, Default)]
-struct Kill9Stats {
- interrupted: u32,
- staged: u32,
- success: u32,
-}
-
-#[derive(Serialize, Deserialize, Debug, Default)]
-struct RebootStats {
- interrupted: u32,
- success: u32,
-}
-
fn upgrade_and_finalize() -> Result<()> {
bash!(
"rpm-ostree upgrade